package com.atde._05_behavioral_design_patterns.command.remotecontrol;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.command.remotecontrol
 * @Author: Del
 * @CreateTime: 2025-06-25  20:09
 * @Description: 命令模式：灯的接收者
 * @Version: 1.0
 */
public class LightReceiver {


    public void on() {
        System.out.println("电灯打开了...");
    }

    public void off() {
        System.out.println("电灯关闭了...");
    }
}
